Ext.define('App.reportconfiguration.view.ReportConfigurationList', {
    extend: 'Extend.grid.CrudGridPanel',
    alias: 'widget.ReportConfigurationList',
    requires: ['App.reportconfiguration.model.ReportConfigurationViewModel'],
    viewModel: 'ReportConfigurationViewModel',
    border: false,
    config: {
        pageable: true,
        tbar: {
            quickCreate: {
                hidden: true
            }
        }
    },
    bind: {
        store: '{Query}',
        columns: '{columns}',
        search: '{search}'
    },
    extraParams:function(){
        return {'params.name_ne':'关键指标'};
    },
    editor: {
        formClass: 'App.reportconfiguration.view.ReportConfigurationEditor',
        save: 'report_configuration/save',
        get: 'report_configuration/get_by_id',
        del: 'report_configuration/delete_reports'
    }
});